import request from '@/utils/request'

// 查询会员足迹列表
export function listAppUserFootprint(query) {
  return request({
    url: '/app/appUserFootprint/list',
    method: 'get',
    params: query
  })
}

// 查询会员足迹详细
export function getAppUserFootprint(id) {
  return request({
    url: '/app/appUserFootprint/' + id,
    method: 'get'
  })
}

// 新增会员足迹
export function addAppUserFootprint(data) {
  return request({
    url: '/app/appUserFootprint',
    method: 'post',
    data: data
  })
}

// 修改会员足迹
export function updateAppUserFootprint(data) {
  return request({
    url: '/app/appUserFootprint',
    method: 'put',
    data: data
  })
}

// 删除会员足迹
export function delAppUserFootprint(id) {
  return request({
    url: '/app/appUserFootprint/' + id,
    method: 'delete'
  })
}
